package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.VideoSafeRecord;
import cn.topevery.garden.entity.query.VideoSafeRecordQuery;
import cn.topevery.garden.entity.vo.VideoSafeRecordVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-17
 */
public interface VideoSafeRecordDao extends BaseDao<VideoSafeRecord> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<VideoSafeRecordVO> listPage(VideoSafeRecordQuery query);

    VideoSafeRecord getEntityByColumn(String key, String value);

    void updateDeviceCode(String userId,String oldDeviceCode, String newDeviceCode);
}
